rtc23 2.2.1
Loading...
Searching...
No Matches
RTC 23 Registers Settings

Settings for registers of RTC 23 Click driver. More...

Macros

#define RTC23_MONDAY   0x00
 RTC 23 day of week values.
#define RTC23_TUESDAY   0x01
#define RTC23_WEDNESDAY   0x02
#define RTC23_THURSDAY   0x03
#define RTC23_FRIDAY   0x04
#define RTC23_SATURDAY   0x05
#define RTC23_SUNDAY   0x06
#define RTC23_DEVICE_ID   0x18
 RTC 23 device ID value.
#define RTC23_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE
 Data sample selection.
#define RTC23_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

Detailed Description

Settings for registers of RTC 23 Click driver.

Macro Definition Documentation

◆ RTC23_DEVICE_ID

#define RTC23_DEVICE_ID   0x18

RTC 23 device ID value.

Specified device ID value of RTC 23 Click driver.

◆ RTC23_FRIDAY

#define RTC23_FRIDAY   0x04

◆ RTC23_MONDAY

#define RTC23_MONDAY   0x00

RTC 23 day of week values.

Specified day of week values of RTC 23 Click driver.

◆ RTC23_SATURDAY

#define RTC23_SATURDAY   0x05

◆ RTC23_SET_DATA_SAMPLE_EDGE

#define RTC23_SET_DATA_SAMPLE_EDGE   SET_SPI_DATA_SAMPLE_EDGE

Data sample selection.

This macro sets data samples for SPI modules.

Note
Available only on Microchip PIC family devices. This macro will set data sampling for all SPI modules on MCU. Can be overwritten with rtc23_init which will set SET_SPI_DATA_SAMPLE_MIDDLE by default on the mapped mikrobus.

◆ RTC23_SET_DATA_SAMPLE_MIDDLE

#define RTC23_SET_DATA_SAMPLE_MIDDLE   SET_SPI_DATA_SAMPLE_MIDDLE

◆ RTC23_SUNDAY

#define RTC23_SUNDAY   0x06

◆ RTC23_THURSDAY

#define RTC23_THURSDAY   0x03

◆ RTC23_TUESDAY

#define RTC23_TUESDAY   0x01

◆ RTC23_WEDNESDAY

#define RTC23_WEDNESDAY   0x02